package org.celery.modules.other.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * 像素表实体类
 *
 * @author Celery
 * @since 2022-04-15
 */
@Data
@TableName("celery_pixel")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Pixel对象", description = "像素表")
public class Pixel extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 租户ID
     */
    @ApiModelProperty(value = "租户ID")
    private String tenantId;
    /**
     * 域名
     */
    @ApiModelProperty(value = "域名")
    private String domain;
    /**
     * 像素
     */
    @ApiModelProperty(value = "像素")
    private String pixel;
    /**
     * 类型(1 = facebook)
     */
    @ApiModelProperty(value = "类型(1 = facebook)")
    private Integer type;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;


}
